how to multiply 3 brackets together